<?php include_stylesheets_for_form($form) ?>
<?php include_javascripts_for_form($form) ?>
<div >
    <div class="sf_admin_filter" id="dialog-form" style="display: none">
  <?php if ($form->hasGlobalErrors()): ?>
    <?php echo $form->renderGlobalErrors() ?>
  <?php endif; ?>

  <form action="<?php echo url_for('modelosxingresos_collection', array('action' => 'filter')) ?>" method="post">
    
            <?php echo $form->renderHiddenFields() ?>
           
        
        <?php foreach ($configuration->getFormFilterFields($form) as $name => $field): ?>
        <?php if ((isset($form[$name]) && $form[$name]->isHidden()) || (!isset($form[$name]) && $field->isReal())) continue ?>
      <div class="separador_campos" style=" margin-top: 5px">
          <?php include_partial('detalleservicios/filters_field', array(
            'name'       => $name,
            'attributes' => $field->getConfig('attributes', array()),
            'label'      => $field->getConfig('label'),
            'help'       => $field->getConfig('help'),
            'form'       => $form,
            'field'      => $field,
            'class'      => 'sf_admin_form_row sf_admin_'.strtolower($field->getType()).' sf_admin_filter_field_'.$name,
              )) ?>
      </div>
        <?php endforeach; ?>
      <div style=" margin-top: 15px">
            <?php echo link_to(__('Reset', array(), 'sf_admin'), 'modelosxingresos_collection', array('action' => 'filter'), array('query_string' => '_reset', 'method' => 'post')) ?>
            <input type="submit" value="<?php echo __('Filter', array(), 'sf_admin') ?>" />
      </div>
  </form>
</div>
</div>

<style type="text/css">
#modelosxingresos_filters_modelos_id,#modelosxingresos_filters_sf_guard_user, #modelosxingresos_filters_imei, #modelosxingresos_filters_entregado_a, #modelosxingresos_filters_ordenesservicio_id   { margin-bottom:3px; width:95%; padding: .4em; }

</style>